<%@ Page Language="C#" MasterPageFile="~/App_Master/MasterPage.master" AutoEventWireup="true" CodeFile="EditJobSource.aspx.cs" Inherits="EditJobSource" Title="Edit Job Source" Theme="Web20CSS" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Web20"></telerik:RadAjaxLoadingPanel> 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
    AllowAutomaticUpdates="True" AllowPaging="True" AutoGenerateDeleteColumn="True"
    AutoGenerateEditColumn="True" DataSourceID="LinqDataSource1" GridLines="None"
    Skin="Web20" AutoGenerateColumns="False">
    <ExportSettings>
        <Pdf FontType="Subset" PaperSize="Letter" />
        <Excel Format="Html" />
    </ExportSettings>
    <MasterTableView CommandItemDisplay="Top" 
        CurrentResetPageIndexAction="SetPageIndexToFirst" DataKeyNames="SourceID"
        DataSourceID="LinqDataSource1" Dir="LTR" Frame="Border" TableLayout="Auto">
        <EditFormSettings>
            <EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType">
            </EditColumn>
        </EditFormSettings>
        <ExpandCollapseColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
            Resizable="False" Visible="False">
            <HeaderStyle Width="20px" />
        </ExpandCollapseColumn>
        <RowIndicatorColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
            Visible="False">
            <HeaderStyle Width="20px" />
        </RowIndicatorColumn>
        <Columns>
            <telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="SourceID" FilterListOptions="VaryByDataType"
                ForceExtractValue="None" HeaderText="SourceID" ReadOnly="True" UniqueName="column"
                Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="Source" FilterListOptions="VaryByDataType"
                ForceExtractValue="None" HeaderText="Source" UniqueName="column1">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <ClientSettings>
        <Selecting AllowRowSelect="True" />
    </ClientSettings>
    <FilterMenu Skin="Web20" EnableTheming="True"><CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation></FilterMenu>
</telerik:RadGrid>
</telerik:RadAjaxPanel>

<asp:LinqDataSource ID="LinqDataSource1" 
        runat="server" ContextTypeName="CareerPathDataContext" EnableDelete="True" 
        EnableInsert="True" EnableUpdate="True" TableName="cp_SourceTables" 
        OrderBy="Source">
    </asp:LinqDataSource>
</asp:Content>

